package ysu.sxm.ptjc.Domin;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
@Component
@Data
public class MonthQualifiedInfo {
    private String produceType;//产品类型
    private String produceName;//产品名称
    private Timestamp produceDate;//生产日期
    private Long produceQuantity;//生产数量
    private Long qualifyNum;//合格数量
    private Double firstpassRate;//一次合格率

    public String getProduceType() { return produceType; }

    public void setProduceType(String produceType) { this.produceType = produceType; }

    public String getProduceName() {
        return produceName;
    }

    public void setProduceName(String produceName) {
        this.produceName = produceName;
    }

    public Timestamp getProduceDate() {
        return produceDate;
    }

    public void setProduceDate(Timestamp produceDate) {
        this.produceDate = produceDate;
    }

    public Long getProduceQuantity() {
        return produceQuantity;
    }

    public void setProduceQuantity(Long produceQuantity) {
        this.produceQuantity = produceQuantity;
    }

    public Long getQualifyNum() {
        return qualifyNum;
    }

    public void setQualifyNum(Long qualifyNum) {
        this.qualifyNum = qualifyNum;
    }

    public Double getFirstpassRate() {
        return firstpassRate;
    }

    public void setFirstpassRate(Double firstpassRate) {
        this.firstpassRate = firstpassRate;
    }

    @Override
    public String toString() {
        return "MonthQualifiedInfo{" +
                "produceType='" + produceType + '\'' +
                ", produceName='" + produceName + '\'' +
                ", produceDate=" + produceDate +
                ", produceQuantity=" + produceQuantity +
                ", qualifyNum=" + qualifyNum +
                ", firstpassRate=" + firstpassRate +
                '}';
    }
}
